package com.example.yucheng.service;

import com.example.yucheng.domain.Stock;
import com.example.yucheng.domain.Storage;

import java.util.List;

public interface StorageService {
    List<Storage> getStorageList(int pageNum, int pageSize);

    void updateStorage(Storage storage);

    void deleteStorage(int id);

    void addStorage(Storage storage);

    Stock findGood(int gId);

    List<Storage> getStorageSortList(int pageNum, int pageSize);

    Storage findStorageById(int id);

    List<Storage> getAllStorage();
}
